const Router = require('koa-router');
const {db, Op,QueryTypes } = require("../../models/db");
const tool = require("../../tools/tool");
const router = new Router();
// 库存余额表写期初数
router.post('/app/upload', async ctx => {
    const file = ctx.request.files.file;
    if (!file) {
        return ctx.err('未上传文件')
    }
    return ctx.suc('', file.newFilename)

})
// 查询商品库存

module.exports = router;